#ifndef PLAYERCONTROL_H
#define PLAYERCONTROL_H

#include<QHBoxLayout>
#include<QPushButton>
#include <QWidget>

class PlayerControl : public QWidget
{
	Q_OBJECT
public:
	explicit PlayerControl(QWidget *parent = 0);

signals:
	void prev();
	void play();
	void pause();
	void stop();
	void next();
public slots:
	void slotPlaying();
	void slotPaused();
	void slotStopped();
private slots:
	void slotPrev();
	void slotPlay();
	void slotPause();
	void slotStop();
	void slotNext();
private:
	QHBoxLayout *m_layout;
	QPushButton *m_buttonPrev;
	QPushButton *m_buttonPlayPause;
	QPushButton *m_buttonStop;
	QPushButton *m_buttonNext;
};

#endif // PLAYERCONTROL_H
